package com.idlestar.androiddocs.view.activity;

import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;

import com.idlestar.androiddocs.R;
import com.idlestar.androiddocs.view.widget.RoundCornerImageView;
import com.idlestar.androiddocs.view.widget.RoundCornerImageView1;

public class RoundCorner2Activity extends Activity {

    private RoundCornerImageView1 img_1;
    private RoundCornerImageView1 img_2, img_3, img_4;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_round_corner2);

        img_1 = (RoundCornerImageView1) findViewById(R.id.img_1);
        img_2 = (RoundCornerImageView1) findViewById(R.id.img_2);
        img_3 = (RoundCornerImageView1) findViewById(R.id.img_3);
        img_4 = (RoundCornerImageView1) findViewById(R.id.img_4);


        img_1.setRadius(80f, 0f, 80, 10);
        img_2.setRadius(80f, 30f, 80, 0);
        img_3.setRadius(120f, 120f, 120f, 120f);
        img_4.setRadius(60f, 60f, 60f, 60f);

    }
}
